<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<html lang="en">

<head>
<title>CUIT微信校务管理平台</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<%=path%>/css/bootstrap.min.css">
<link rel="stylesheet" href="<%=path%>/css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="<%=path%>/css/colorpicker.css">
<link rel="stylesheet" href="<%=path%>/css/datepicker.css">
<link rel="stylesheet" href="<%=path%>/css/uniform.css">
<link rel="stylesheet" href="<%=path%>/css/select2.css">
<link rel="stylesheet" href="<%=path%>/css/unicorn.main.css">
<link rel="stylesheet" href="<%=path%>/css/unicorn.grey.css"
	class="skin-color">
<link rel="stylesheet" type="text/css"
	href="<%=path%>/css/sweetalert.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.controls input {
	height: 30px;
}
</style>
</head>

<body>

	<div id="header">
		<h2>CUIT微信</h2>
		<h3>校务管理平台</h3>
	</div>

	<div id="sidebar">
		<a href="#" class="visible-phone"><i class="icon icon-home"></i>添加学生</a>
		<ul>
			<li><a href="<%=path%>/Page/index.jsp"><i
					class="icon icon-home"></i> <span>首页</span></a></li>
			<li class="submenu active open"><a href="#"><i
					class="icon icon-th-list"></i> <span>教务通知</span> <span
					class="label">2</span></a>
				<ul>
					<li><a href="test_list">考试安排</a></li>
					<li><a href="inf_list">信息与公告</a></li>
				</ul></li>
			<li class="submenu"><a href="#"><i class="icon icon-th"></i>
					<span>选修和教室查询</span> <span class="label">2</span></a>
				<ul>
					<li><a href="elective_list">公共选修</a></li>
					<li><a href="classroom_list">自习室安排</a></li>
				</ul></li>
			<li class="submenu"><a href="#"><i class="icon icon-pencil"></i>
					<span>图书管理</span><span class="label">2</span></a>
				<ul>
					<li><a href="lib_add">添加图书</a></li>
					<li><a href="lib_querylist">图书列表</a></li>
				</ul></li>
			<li class="submenu"><a href="#"><i class="icon icon-bell"></i>
					<span>学籍信息</span> <span class="label">2</span></a>
				<ul>
					<li class="active"><a href="<%=path%>/Page/student_add.jsp">添加学生</a></li>
					<li><a href="student_querylistAction">查看学生</a></li>
				</ul></li>
		</ul>

	</div>
	<div id="content">
		<div id="content-header">
			<h1>教务信息添加</h1>
		</div>
		<div id="breadcrumb">
			<a href="" title="Go to Home" class="tip-bottom"><i
				class="icon-home"></i>教务通知</a> <a href="#" class="current">添加教务信息</a>
		</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
						<div class="widget-title">
							<span class="icon"> <i class="icon-align-justify"></i>
							</span>
							<h5>信息录入</h5>
						</div>
						<div class="widget-content nopadding">
							<form action="inf_save" method="post" class="form-horizontal">


								<div class="control-group">
									<label class="control-label">标题</label>
									<div class="controls">
										<input type="text" name="info.infocontent">
									</div>
									<label class="control-label">类型</label>
									<div class="controls">
										<select name="info.info_type">
											<option value="0">新闻中心</option>
											<option value="1">重要通知</option>
										</select>
									</div>
									<label class="control-label">内容</label>
									<div class="controls">
										<textarea name="info.info_time" style="height: 100px"></textarea>
									</div>
								</div>


								<div class="form-actions">
									<button type="submit" class="btn btn-primary"
										style="margin-left: 120px;" id="add-button">确认添加</button>
									<button type="reset" class="btn btn-danger"
										style="margin-left: 90px;">取消添加</button>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="<%=path%>/js/jquery.min.js"></script>
	<script src="<%=path%>/js/jquery.ui.custom.js"></script>
	<script src="<%=path%>/js/bootstrap.min.js"></script>
	<script src="<%=path%>/js/bootstrap-colorpicker.js"></script>
	<script src="<%=path%>/js/bootstrap-datepicker.js"></script>
	<script src="<%=path%>/js/jquery.uniform.js"></script>
	<script src="<%=path%>/js/sweetalert.min.js"></script>
	<script src="<%=path%>/js/unicorn.js"></script>
	<script src="<%=path%>/js/unicorn.form_common.js"></script>
	<script type="text/javascript">
		var msg = "${request.tipMessage}";
		if (msg != "") {
			swal(msg, "You clicked the button!", "success")
			request.removeAttribute("tipMessage");
		}
	</script>
</body>

</html>